<?php
class FckeditorController extends CController
{
	public $defaultAction='create';
	
    public function actionCreate()
	{
		$model=new FckeditorForm;
		
        if(isset($_POST['FckeditorForm']))
        {
            $model->attributes=$_POST['FckeditorForm'];
            echo $model->page;
            return;
        }
        $this->render('create', array('model'=>$model));
	}
	
}